package com.shyroke.daydayzhuanapi.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * 系统中使用的常量
 */
public class Constant {

    //图片后缀名
    public static final String[] img_suff = {"JPG","PNG","GIF","jpg","png","jpg","jpeg","JPEG"};

    public static Map<String,String> SEARCH_MAPS = new HashMap();

    static {
        SEARCH_MAPS.put("baidu","https://suggestion.baidu.com/su?wd={}&p=3&cb=window.bdsug.sug");
        SEARCH_MAPS.put("baiduRelation","https://www.baidu.com/s?wd={}");
        SEARCH_MAPS.put("sogou","http://w.sugg.sogou.com/sugg/ajaj_json.jsp?key={}&type=web");
        SEARCH_MAPS.put("bing","https://sg1.api.bing.com/qsonhs.aspx?type=cb&cb=callback&q={}");
    }

}
